Subject: Re: How to set stack for a shell command in REXX?
From: [email-masked] (Svante Kleist)
Date: Wed, 19 May 1993 13:39:10 GMT
Newsgroups: comp.sys.amiga.programmer

[email-masked] (Hans Erik Martino Hansen) writes:

>[email-masked] (Ji Ma) writes:

>>I had one program which needs 30000byte of stack and I want to call
>>the program from inside rexx micro.  But following code does not
>>work.
>>
>>address command
>>'stack 30000'
>>'run stackmonster'
>>
>>Is there a way to get around it?  Thanks in advance.
>>
>>Maji

>Try look at the Pragma command

	Or you could force the two shell commands to execute in the same
	shell instance by merging them, separated by a line-feed character:

		lf = '0a'x	/* or is it 0d ?? */

		cmd1 = 'stack 30000'
		cmd2 = 'run stackmonster'

		cmd  = cmd1 lf cmd2

		address 'COMMAND' cmd

	/Svante
--
-- 
Svante Kleist ([email-masked])

Ericsson Telecom AB, Systems and Software - Design Support.